package com.bw.mvvm_common.dao;

import android.os.Parcel;
import android.os.Parcelable;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public
/**
 * @author Lishaohe
 * @description:
 * @date :2021/10/25 0025 下午 6:39
 *
 */
class GoodBean implements Parcelable {

    @Id(autoincrement = true)
    private Long id;
    private int  goodsCount;
    private String goodsDesc;
    private String goodsIcon;
    private int  goodsId;
    private String goodsPrice;
    private String goodsSku;
    private int time;
    private int  userId;

    @Generated(hash = 1279133882)
    public GoodBean(Long id, int goodsCount, String goodsDesc, String goodsIcon,
            int goodsId, String goodsPrice, String goodsSku, int time, int userId) {
        this.id = id;
        this.goodsCount = goodsCount;
        this.goodsDesc = goodsDesc;
        this.goodsIcon = goodsIcon;
        this.goodsId = goodsId;
        this.goodsPrice = goodsPrice;
        this.goodsSku = goodsSku;
        this.time = time;
        this.userId = userId;
    }

    @Generated(hash = 1348485518)
    public GoodBean() {
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {

    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public int getGoodsCount() {
        return this.goodsCount;
    }

    public void setGoodsCount(int goodsCount) {
        this.goodsCount = goodsCount;
    }

    public String getGoodsDesc() {
        return this.goodsDesc;
    }

    public void setGoodsDesc(String goodsDesc) {
        this.goodsDesc = goodsDesc;
    }

    public String getGoodsIcon() {
        return this.goodsIcon;
    }

    public void setGoodsIcon(String goodsIcon) {
        this.goodsIcon = goodsIcon;
    }

    public int getGoodsId() {
        return this.goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsPrice() {
        return this.goodsPrice;
    }

    public void setGoodsPrice(String goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsSku() {
        return this.goodsSku;
    }

    public void setGoodsSku(String goodsSku) {
        this.goodsSku = goodsSku;
    }

    public int getTime() {
        return this.time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getUserId() {
        return this.userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
}
